package com.smartleanx.module.hrm.service.examine.examineFlowPerformance;

import java.util.*;
import javax.validation.*;

import com.alibaba.fastjson2.JSONObject;
import com.smartleanx.module.hrm.controller.admin.examine.examineFlowPerformance.vo.*;
import com.smartleanx.module.hrm.dal.dataobject.examine.examineFlowPerformance.ExamineFlowPerformanceDO;
import com.smartleanx.framework.common.pojo.PageResult;
import com.smartleanx.framework.common.pojo.PageParam;

/**
 * 考核流程中间 Service 接口
 *
 * @author 
 */
public interface ExamineFlowPerformanceService {

    /**
     * 创建考核流程中间
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Integer createExamineFlowPerformance(@Valid ExamineFlowPerformanceSaveReqVO createReqVO);

    /**
     * 更新考核流程中间
     *
     * @param updateReqVO 更新信息
     */
    void updateExamineFlowPerformance(@Valid JSONObject param);

    /**
     * 删除考核流程中间
     *
     * @param id 编号
     */
    void deleteExamineFlowPerformance(Integer id,Integer fileId);

    /**
     * 获得考核流程中间
     *
     * @param id 编号
     * @return 考核流程中间
     */
    ExamineFlowPerformanceDO getExamineFlowPerformance(Integer id);

    /**
     * 获得考核流程中间分页
     *
     * @param pageReqVO 分页查询
     * @return 考核流程中间分页
     */
    List<ExamineFlowPerformanceDO> getExamineFlowPerformanceList(Integer examineId);

}